package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class VipListBean implements Serializable {

    /**
     * status : 2
     * msg : 查詢成功
     * info : [{"id":"318","nickname":"迪","name":"迪","balance":"1016.83","cardnum":"19855311872","card_key":"0527502818","integral":"1000771","grade_integral":"3","status":"1","plus_type":"3","density_free":"2"}]
     */

    private int status;
    private String msg;
    private List<InfoBean> info;
    private String density_free_state;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<InfoBean> getInfo() {
        return info;
    }

    public void setInfo(List<InfoBean> info) {
        this.info = info;
    }

    public String getDensity_free_state() {
        return density_free_state == null ? "0" : density_free_state;
    }

    public void setDensity_free_state(String density_free_state) {
        this.density_free_state = density_free_state;
    }

    public static class InfoBean  implements Serializable {
        /**
         * id : 318
         * nickname : 迪
         * name : 迪
         * balance : 1016.83
         * cardnum : 19855311872
         * card_key : 0527502818
         * integral : 1000771
         * grade_integral : 3
         * status : 1
         * plus_type : 3
         * density_free : 2
         */

        private String id;
        private String nickname;
        private String name;
        private String balance;
        private String cardnum;
        private String card_key;
        private String integral;
        private String grade_integral;
        private String status;
        private String plus_type;
        private String grade_name;
        private String density_free;
        private double discount;
        private int login_type;
        private String payCode;
        private String creditQuota;
        private int isCreditUser;
        private List<CouponListBean> couponList;

        public int getIsCreditUser() {
            return isCreditUser;
        }

        public void setIsCreditUser(int isCreditUser) {
            this.isCreditUser = isCreditUser;
        }

        public String getCreditQuota() {
            return creditQuota == null ? "" : creditQuota;
        }

        public void setCreditQuota(String creditQuota) {
            this.creditQuota = creditQuota;
        }


        public List<CouponListBean> getCouponList() {
            if (couponList == null) {
                return new ArrayList<>();
            }
            return couponList;
        }

        public void setCouponList(List<CouponListBean> couponList) {
            this.couponList = couponList;
        }

        public static class CouponListBean implements Serializable {

            /**
             * id : 5076
             * need_money : 1.00
             * reduce_money : 0.10
             * starttime : 1563206400
             * endtime : 1565366400
             * canusestoreids : 0
             * coupon_name : 000
             * begin_time : 2019-07-16
             * end_time : 2019-08-10
             */

            private String id;
            private String need_money;
            private String reduce_money;
            private String starttime;
            private String endtime;
            private String canusestoreids;
            private String coupon_name;
            private String begin_time;
            private String end_time;
            private String goods_type;
            private String goods_id_gather;
            private int coupon_choice_type;
            private String appoint_type_name;

            public String getAppoint_type_name() {
                return appoint_type_name == null ? "" : appoint_type_name;
            }

            public void setAppoint_type_name(String appoint_type_name) {
                this.appoint_type_name = appoint_type_name;
            }

            public int getCoupon_choice_type() {
                return coupon_choice_type;
            }

            public void setCoupon_choice_type(int coupon_choice_type) {
                this.coupon_choice_type = coupon_choice_type;
            }

            public String getGoods_id_gather() {
                return goods_id_gather == null ? "" : goods_id_gather;
            }

            public void setGoods_id_gather(String goods_id_gather) {
                this.goods_id_gather = goods_id_gather;
            }

            public String getGoods_type() {
                return goods_type == null ? "" : goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getNeed_money() {
                return need_money;
            }

            public void setNeed_money(String need_money) {
                this.need_money = need_money;
            }

            public String getReduce_money() {
                return reduce_money;
            }

            public void setReduce_money(String reduce_money) {
                this.reduce_money = reduce_money;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public String getCanusestoreids() {
                return canusestoreids;
            }

            public void setCanusestoreids(String canusestoreids) {
                this.canusestoreids = canusestoreids;
            }

            public String getCoupon_name() {
                return coupon_name;
            }

            public void setCoupon_name(String coupon_name) {
                this.coupon_name = coupon_name;
            }

            public String getBegin_time() {
                return begin_time;
            }

            public void setBegin_time(String begin_time) {
                this.begin_time = begin_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }
        }

        public String getPayCode() {
            return payCode == null ? "" : payCode;
        }

        public void setPayCode(String payCode) {
            this.payCode = payCode;
        }

        public int getLogin_type() {
            return login_type;
        }

        public void setLogin_type(int login_type) {
            this.login_type = login_type;
        }

        public double getDiscount() {
            return discount;
        }

        public void setDiscount(double discount) {
            this.discount = discount;
        }

        public String getGrade_name() {
            return grade_name == null ? "" : grade_name;
        }

        public void setGrade_name(String grade_name) {
            this.grade_name = grade_name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public String getCardnum() {
            return cardnum;
        }

        public void setCardnum(String cardnum) {
            this.cardnum = cardnum;
        }

        public String getCard_key() {
            return card_key;
        }

        public void setCard_key(String card_key) {
            this.card_key = card_key;
        }

        public String getIntegral() {
            return integral;
        }

        public void setIntegral(String integral) {
            this.integral = integral;
        }

        public String getGrade_integral() {
            return grade_integral;
        }

        public void setGrade_integral(String grade_integral) {
            this.grade_integral = grade_integral;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getPlus_type() {
            return plus_type;
        }

        public void setPlus_type(String plus_type) {
            this.plus_type = plus_type;
        }

        public String getDensity_free() {
            return density_free;
        }

        public void setDensity_free(String density_free) {
            this.density_free = density_free;
        }
    }
}
